package com.earth.a.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.earth.c.controller.BaseController;
import com.earth.c.plugins.shiro.ShiroKit;

@Controller
@RequestMapping("/user")
public class UserController extends BaseController{

	@RequestMapping(value = "getLoginUser", method = RequestMethod.GET)
	@ResponseBody
	public String getLoginUser() {
		return this.renderSuccess("成功！", ShiroKit.getLoginUser());
	}
	
}
